@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>会员资金管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
								<#NameCon id="name" name="会员昵称或姓名"/>
							</div>
							<div class="col-sm-3">
								<#NameCon id="telno" name="手机号"/>
							</div>
                            <div class="col-sm-3">
                                <#SelectCon id="tradeType" name="交易类型">
                                    <option value="-1">全部</option>
                                    <option value="1">提现</option>
                                    <option value="2">充值</option>
                                    <option value="3">买入支出</option>
                                    <option value="4">平仓盈利</option>
                                    <option value="5">买入撤销</option>
                                    <option value="6">买入退款</option>
                                </#SelectCon>
                            </div>
                            <div class="col-sm-3">
                                <#SelectCon id="status" name="交易状态">
                                    <option value="-1">全部</option>
                                    <option value="1">已审核</option>
                                    <option value="2">充值初始化</option>
                                    <option value="3">充值处理中</option>
                                    <option value="4">充值成功</option>
                                    <option value="7">充值撤销(人工)</option>
                                    <option value="10">提现申请</option>
                                    <option value="8">提现已审核</option>
                                    <option value="5">提现失败</option>
                                    <option value="9">提现核销</option>
                                </#SelectCon>
                            </div>
                        </div>
                        <div class="row">
							<div class="col-sm-3">
								<#TimeCon id="beginTime" name="交易开始日期" isTime="false" pattern="YYYY-MM-DD"/>
							</div>
							<div class="col-sm-3">
								<#TimeCon id="endTime" name="交易结束日期" isTime="false" pattern="YYYY-MM-DD"/>
							</div>
                            <div class="col-sm-6">
                                <#button name="搜索" icon="fa-search" clickFun="WebuserMoney.search()"/>
                                <#button name="导出Excel" icon="fa-file-excel-o" clickFun="WebuserMoney.WebuserMoneyExportData()"/>
                            </div>
                        </div>
                        <!--
                        @if(shiro.hasPermission("/webuserMoney/add")){
                            <#button name="添加" icon="fa-plus" clickFun="WebuserMoney.openAddWebuserMoney()"/>
                        @}
                        @if(shiro.hasPermission("/webuserMoney/update")){
                            <#button name="修改" icon="fa-edit" clickFun="WebuserMoney.openWebuserMoneyDetail()"/>
                        @}
                        @if(shiro.hasPermission("/webuserMoney/delete")){
                            <#button name="删除" icon="fa-remove" clickFun="WebuserMoney.delete()"/>
                        @}
                        @if(shiro.hasPermission("/webuserMoney/closeRepeal")){
                            <#button name="提现取消核销" icon="fa-times" clickFun="WebuserMoney.closeRepeal()"/>
                        @}
                        -->
                        <div class="hidden-xs" id="WebuserMoneyTableToolbar" role="group">
                            @if(shiro.hasPermission("/webuserMoney/user/recharge_rollback")){
                                <#button name="充值撤销" icon="fa-reply" clickFun="WebuserMoney.recharge_rollback()"/>
                            @}
                            @if(shiro.hasPermission("/webuserMoney/audit")){
                                <#button name="提现审核" icon="fa-paper-plane" clickFun="WebuserMoney.withdraw_audit()"/>
                            @}
                            @if(shiro.hasPermission("/webuserMoney/repealMoney")){
                                <#button name="提现撤回余额" icon="fa-reply" clickFun="WebuserMoney.withdraw_rollback()"/>
                            @}
                            @if(shiro.hasPermission("/webuserMoney/manRepeal")){
                                <#button name="提现手工核销" icon="fa-hand-paper-o" clickFun="WebuserMoney.withdraw_manual_success()"/>
                            @}
                        </div>
                        <#table id="WebuserMoneyTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/org/webuserMoney/webuserMoney.js"></script>
@}
